/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kurvykurvy.page;

/**
 *
 * @author HY
 */
public class PageSize
{
    int pageWidth;
    int pageHeight;

    public PageSize( int width, int height )
    {
        this.pageWidth = width;
        this.pageHeight = height;
    }

    public int getPageHeight()
    {
        return pageHeight;
    }

    public void setPageHeight( int pageHeight )
    {
        this.pageHeight = pageHeight;
    }

    public int getPageWidth()
    {
        return pageWidth;
    }

    public void setPageWidth( int pageWidth )
    {
        this.pageWidth = pageWidth;
    }

    public int getSpreadWidth()
    {
        return 2 * getPageWidth();
    }
}
